<div class="container choice-attr oh pf b0 l0 r0 z2 js-choice-attr modal-content"
     style="z-index: <%=index%>;position: fixed;display: none;">
    <div class="row brief">
        <div class="col-xs-12 bm">
            <div class="layout sub80">
                <div class="col-main mb8">
                    <div class="wrap">
                        <p class="title ml10 mr20 mb5"><%=info.title%></p>
                        <p class="fs-16 ml10 green">￥<span id="J_item_sku_price"><%=info.price%></span></p>
                        <p class="fs-12 ml10 grey mb5">库存：<span id="J_item_sku_stock"><%=info.stock%></span></p>
                    </div>
                </div>
                <div class="col-sub">
                    <div class="img">
                        <img src="<%=_.attach(info.img)%>"/>
                    </div>
                </div>
            </div>
            <a href="javascript:;" class="close js-choice-attr-close"></a>
        </div>
    </div>
    <%if(!_.empty(info.item_sku_list)){
    %>
    <div class="row attr-list">
        <div class="col-xs-12 title">规格</div>
        <div class="col-xs-12 list bm" id="J_item_sku_list" style="max-height: 250px;overflow-y: scroll;">
            <%_.each(info.item_sku_list,function(val){%>
            <%if(val.stock>0){%>
            <span data-id="<%=val.id%>" data-price="<%=val.price%>" data-stock="<%=val.stock%>"><%=val.name%>:<%=val.val%></span>
            <%}else{%>
            <span class="no"><%=val.name%>:<%=val.val%></span>
            <%}%>
            <%})%>
        </div>
    </div>
    <%}%>
    <div class="row number-box">
        <div class="col-xs-6 no-pd title fl">
            购买数量
            <%if(info.buy_limit_str){%>
            <span class="tips pink">
                <br>
                (温馨提示:单笔订单限额5000元
                <br>单日累计订单限额30000元)
            </span>
            <%}%>
        </div>
        <div class="col-xs-6 no-pd number fr">
            <span id="J_sku_num_plus">+</span>
            <input type="text" value="1" id="J_goods_number" disabled/>
            <span id="J_sku_num_minus">-</span>
        </div>
    </div>
	<div class="row mb10">
		<div class="col-xs-12 tr">
			<p>余额：￥<span id="J_user_price"><%=info.user_price%></span>元</p>
			<p class="fs-12"><font color="#ff0000" id="J_user_price_msg"></font></p>
		</div>
	</div>
    <div class="row btn-box J_submit">
        <div class="col-xs-12 no-pd">
            <span class="submit">确 定</span>
        </div>
    </div>
</div>